package com.domain;

public class Grade {
    private int gradeId; //学生成绩单号
    private int Chinese; //语文成绩
    private int Math; //数学成绩
    private int English; //英语成绩
    private int Java; //Java成绩
    private int Oracle; //Oracle成绩


    public Grade() {
    }

    public Grade(int gradeId, int Chinese, int Math, int English, int Java, int Oracle) {
        this.gradeId = gradeId;
        this.Chinese = Chinese;
        this.Math = Math;
        this.English = English;
        this.Java = Java;
        this.Oracle = Oracle;
    }


    /**
     * 获取
     * @return gradeId
     */
    public int getGradeId() {
        return gradeId;
    }

    /**
     * 设置
     * @param gradeId
     */
    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    /**
     * 获取
     * @return Chinese
     */
    public int getChinese() {
        return Chinese;
    }

    /**
     * 设置
     * @param Chinese
     */
    public void setChinese(int Chinese) {
        this.Chinese = Chinese;
    }

    /**
     * 获取
     * @return Math
     */
    public int getMath() {
        return Math;
    }

    /**
     * 设置
     * @param Math
     */
    public void setMath(int Math) {
        this.Math = Math;
    }

    /**
     * 获取
     * @return English
     */
    public int getEnglish() {
        return English;
    }

    /**
     * 设置
     * @param English
     */
    public void setEnglish(int English) {
        this.English = English;
    }

    /**
     * 获取
     * @return Java
     */
    public int getJava() {
        return Java;
    }

    /**
     * 设置
     * @param Java
     */
    public void setJava(int Java) {
        this.Java = Java;
    }

    /**
     * 获取
     * @return Oracle
     */
    public int getOracle() {
        return Oracle;
    }

    /**
     * 设置
     * @param Oracle
     */
    public void setOracle(int Oracle) {
        this.Oracle = Oracle;
    }

    public String toString() {
        return "Grade{gradeId = " + gradeId + ", Chinese = " + Chinese + ", Math = " + Math + ", English = " + English + ", Java = " + Java + ", Oracle = " + Oracle + "}";
    }
}
